﻿<odc:RibbonWindow x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:odc="clr-namespace:Odyssey.Controls;assembly=Odyssey"
    Title="Document.Viewer" Icon="Document.Viewer.ico" Height="480" Width="640">
    <DockPanel>
        <odc:RibbonBar IsRibbonVisible="False" x:Name="MainBar" DockPanel.Dock="Top" Height="44">
           <odc:RibbonBar.ApplicationMenu>
               <odc:RibbonApplicationMenu ToolTip="Document.Viewer" MenuButtonImage="Document.Viewer.ico" Name="FileMenuItem">
                   <Separator/>
                   <odc:RibbonApplicationMenuItem Name="OpenMenuItem" Header="Open" ToolTip="Open Document" Image="Images/open.png" />
                   <Separator/>
                   <odc:RibbonApplicationMenuItem Name="PrintMenuItem" Header="Print" ToolTip="Print Document" Image="Images/print.png" IsEnabled="False" />
                   <Separator/>
                   <odc:RibbonApplicationMenuItem Name="AboutMenuIem" Header="About" ToolTip="About Document.Viewer" Image="Dialogs/about.ico" />
                   <Separator/>
                   <odc:RibbonApplicationMenuItem Name="ExitMenuItem" Header="Exit" ToolTip="Close Document.Viewer" Image="Images/exit.png" />
                </odc:RibbonApplicationMenu>
           </odc:RibbonBar.ApplicationMenu>
        </odc:RibbonBar>
        <RichTextBox VerticalScrollBarVisibility="Visible" IsReadOnly="True" Name="DocumentView" Height="auto" Width="Auto" />
    </DockPanel>
</odc:RibbonWindow>